import React, { FC } from 'react';
import { RecoilRoot } from 'recoil';
import '@web/global/index';
import '@assets/css/reset.css';
import '@web/global/globalStyle.css';
import '@assets/css/ionicons.min.css';
import '@assets/css/leaflet.css';
import '@assets/css/main.css';
import BaseLayout from '@web/com/ui/layout/baseLayouts/LayoutHCF';
import { BrowserRouter as Router } from 'react-router-dom';
import Navigation from '@web/com/ui/templates/headerContent/NavA/Navation';
import appConfig from '@com/managers/configManager/configLoader';

console.log('appConfig', appConfig);

const App:FC = () => (
  <RecoilRoot>
    <Router basename="/">
      <BaseLayout headerContent={Navigation} />
    </Router>
  </RecoilRoot>
);
export default App;
